//
//  OAApprovalModel.h
//  OANetworkManager_Example
//
//  Created by TFAppleWork-Summer on 2018/2/26.
//  Copyright © 2018年 GuoRui. All rights reserved.
//

typedef NS_ENUM(NSInteger, ApprovalStatus) {
    ApprovalStatusUnApproval  = 100, // 未审批
    ApprovalStatusApprovaling = 101, // 审批中
    ApprovalStatusUnPass      = 102, // 未通过
    ApprovalStatusPass        = 103, // 已通过
};

#import "OABaseModel.h"
@class OAUserModel;
@interface OAApprovalModel : OABaseModel

/**
 审批id
 */
@property (nonatomic, copy) NSString *approvalId;

/**
 1- 发起者 2-审批人
 */
@property (nonatomic, assign) NSInteger identity;

/**
 拒绝理由
 */
@property (nonatomic, copy) NSString *rejectReason;

/**
 100 - 未审批 102 - 未通过 103 - 已通过
 */
@property (nonatomic, assign) ApprovalStatus status;

/**
 审批时间
 */
@property (nonatomic, assign) NSTimeInterval time;

@property (nonatomic, strong)  OAUserModel*user;

@end
